package com.kinggrid.consolemanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author wuth
 * @date 2021-6-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysProject extends Model<SysProject> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String imageUrl;

    private String projectUrl;

    private Long tagId;

    @Override
    public Serializable pkVal() {
        return this.id;
    }
}
